Skip to content

fix(mobile): prevent paywall crash when switching billing cycle - #97

Merged
snhsish merged 1 commit into
mainfrom
fix/paywall-yearly-crash
Sep 4, 2026
Merged

fix(mobile): prevent paywall crash when switching billing cycle#97
snhsish merged 1 commit into
mainfrom
fix/paywall-yearly-crash

Conversation

@snhsish

@snhsish snhsish commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Tapping the yearly/monthly toggle in the paywall sheet crashed with "Couldn't find a navigation context".

Root cause: the toggle swapped Tailwind classes after mount, triggering a css-interop upgrade warning whose prop-stringifier walks React fibers into the default NavigationStateContext (throwing getters).

Selection styling now uses static classes plus inline style (backgroundColor/color from THEME), which updates without triggering an upgrade.

@snhsish
snhsish merged commit 8bafa78 into main Sep 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant